home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
win
/
slnot100.zip
/
SAMPLE.HS_
/
SAMPLE.HS
Wrap
INI File
|
1994-11-06
|
2KB
|
95 lines
[Settings]
Comment=This is a sample Host
Phone=
Emulation=4
Speed=5
DataBits=1
StopBits=0
Parity=0
Prompt=$
GetFile=sx -k {filename}
SendFile=rx -bc {filename}
Protocol=2
www=lynx
Interrupt=^C
Timeout=50
TickleHost=-1
HostInit=0
UNIXLSColumn=0
IsManualLogin=0
[login]
n=64
l1=# Please read the Help information on Login scripts
l2=# by pressing the "Help" button in the Host screen.
l3=# There are some important issues discussed
l4=# there concerning C-shell use.
l5=
l6=# This is a sample LOGIN script
l7=# -------------------------------------------------------------
l8=# Anything following the "#" comment symbol
l9=# is ignored
l10 send "^M"
l11=# Valid script commands are:
l12=# dial
l13=# hangup
l14=# send "string" # see notes below on strings
l10=
l15=# send loginid
l16=# send password
l17=# send break
l18=# waitfor "string" nseconds
l19=# waitfor connect nseconds
l20=# waitfor prompt nseconds
l21=# delay nseconds
l22=# send "string1" waitfor "string2" nseconds retry ntimes
l23=# send break waitfor "string" nseconds retry ntimes
l24=
l25=# Note on "strings":
l26=# strings can contain control keys
l27=# control keys are preceded by "^"
l28=# For instance, to send a Control-D:
l29=# send "^D"
l30=# More importantly, to send the string: "exit" followed
l31=# by a carriage return:
l32=# send "exit^M"
l33=
l34=# Examples of the retry commands:
l35=# -------
l36=# send "^M" waitfor "login" 5 retry 10
l37=# means: send a carriage-return and wait for string "login" for 5 seconds
l38=# and retry this operation 10 times
l39=
l40=# =================================
l41=# Sample login script follows
l42=# =================================
l43=
l44=dial
l45=
l46=waitfor connect 30
l47=
l48=delay 3 # give the host 3 seconds breathing room
l49=
l50=send "^M" waitfor "ogin" 3 retry 5
l51=
l52=#Notice that we wait for "ogin" instead of "login:"
l53=#because the prompt on some systems is "Login" and on some it's "login"
l54=
l55=send loginid
l56=send "^M" # be sure to send the carriage-return
l57=
l58=waitfor "ssword" 20
l59=send password
l60=send "^M"
l61=
l62=waitfor prompt 30
l63=
l64=# ====================================
[logout]
n=3
l1=# This is a sample LOGOUT script
l2=send "exit^M"
l3=hangup